package com.noah.project.controller

import org.slf4j.LoggerFactory
import org.springframework.stereotype.Controller
import org.springframework.web.bind.annotation.GetMapping

@Controller
class WebController {
    val log = LoggerFactory.getLogger(WebController::class.simpleName)

    @GetMapping("/index")
    fun index(map: MutableMap<String, Any?>): String {
        return "index"
    }
    @GetMapping("/jianli")
    fun jianli(map: MutableMap<String, Any?>): String {
        return "jianli"
    }
}